<%--
  Created by IntelliJ IDEA.
  User: lufei
  Date: 2025/3/22
  Time: 09:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="${ pageContext.request.contextPath}/admin/bootstrap/css/bootstrap.min.css">
	<script src="${ pageContext.request.contextPath}/admin/bootstrap/js/jquery-2.1.0.min.js"></script>
	<script src="${ pageContext.request.contextPath}/admin/bootstrap/js/bootstrap.min.js"></script>
    <style>

       .cus-container{
           width: 1368px;
       }
       #user-add .modal-content{
       	padding: 0 20px 20px;	
       }
       #user-edit .modal-content{
       	padding: 0 20px 20px;	
       }
       
    </style>
</head>
<body>
	
    <div class="container cus-container">
		<!-- 添加用户模态框 -->
		<h3 class="text-center">添加用户</h3>

		<form action="${ pageContext.request.contextPath}/homeUsers/add" method="post" enctype="multipart/form-data" >
			<div class="form-group">
				<label for="user">姓名：</label>
				<input type="text" class="form-control" name="user_name" placeholder="请输入姓名">
			</div>
			
			<div class="form-group">
				<label for="pass">密码：</label>
				<input type="password" class="form-control" readonly  name="user_pass" placeholder="默认密码12345">
			</div>
			<div class="form-group">
				<label for="phone">手机号：</label>
				<input type="text" class="form-control" name="user_phone" placeholder="请输入密码">
			</div>
			<div class="form-group">
				<label for="birthday">生日：</label>
				<input type="date" class="form-control" name="user_date" placeholder="请输入出生日期">
			</div>
			<div class="form-group">
				<label for="tx">头像：</label>
				<input type="file" class="form-control" name="image">
			</div>
			<div class="text-center">	                
				<button type="submit" class="btn btn-primary">添加</button>
			</div>         
		</form>
    </div>
    
</body>
</html>